package com.ruoyi.wms.domain;
import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
/**
 * 入库单明细对象 wms_stock_in_details
 *
 * @author ruoyi
 * @date 2021-11-07
 */
public class WmsStockInDetails extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    /**仓库类型*/
    @Excel(name = "仓库类型")
    private String wmsDictStockInType;

    /**订单uuid*/
    @Excel(name = "订单UUid")
    private String fkOrderUuid;

    /**订单编号*/
    @Excel(name = "订单编号")
    private String docNumOrder;

    /**订单标题*/
    @Excel(name = "订单标题")
    private String docTitleOrder;

    /**仓库名称*/
    @Excel(name = "仓库名称")
    private String stockNameDetail;

    /**仓库编码*/
    @Excel(name = "仓库编码")
    private String stockPosCodeDetail;

    /**仓位名称*/
    @Excel(name = "仓位名称")
    private String stockPosNameDetail;

    /**仓位编码*/
    @Excel(name = "仓位编码")
    private String stockCodeDetail;
    private String measuringUnit;

    /**物料单价*/
    @Excel(name = "物料单价")
    private BigDecimal itemPrice;
    private BigDecimal differentQty;
    private BigDecimal totalAmount;

    public BigDecimal getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(BigDecimal totalAmount) {
        this.totalAmount = totalAmount;
    }

    public String getMeasuringUnit() {
        return measuringUnit;
    }

    public void setMeasuringUnit(String measuringUnit) {
        this.measuringUnit = measuringUnit;
    }

    public BigDecimal getDifferentQty() {
        return differentQty;
    }

    public void setDifferentQty(BigDecimal differentQty) {
        this.differentQty = differentQty;
    }

    /** 单据标题 */
    @Excel(name = "单据标题")
    private String docTitleRequest;

    /** 单据编号 */
    @Excel(name = "单据编号")
    private String docNumRequest;

    /** 物料名称 */
    @Excel(name = "物料名称")
    private String itemName;

    /** 物料编号 */
    @Excel(name = "物料编号")
    private String itemNum;

    /** 入库标题 */
    @Excel(name = "入库标题")
    private String docTitle;

    /** 入库编号 */
    @Excel(name = "入库编号")
    private String docNum;
    private String fkStockPosUuid;

    /** 入库时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入库时间")
    private Date docDt;

    /** 入库单ID */
    @Excel(name = "入库单ID")
    private Long fkAttentionUserId;

    /** 备注 */
    @Excel(name = "备注")
    private String docNote;

    /** 入库员 */
    @Excel(name = "入库员")
    private String userNameStockIn;

    /** 申请时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申请时间")
    private Date docDtRequest;

    /** 主键 */
    private String stockInDetailUuid;

    /** 入库单ID */
    @Excel(name = "入库单ID")
    private String fkStockInUuid;

    /** 排序序号 */
    @Excel(name = "排序序号")
    private String orderNum;

    /** 物料表ID */
    @Excel(name = "物料表ID")
    private String fkItemUuid;

    /** 数量 */
    @Excel(name = "数量")
    private BigDecimal stockInQty;

    /** 计量单位(字典表) */
    @Excel(name = "计量单位(字典表)")
    private String wmsDictMeasuringUnit;

    public String getFkStockPosUuid() {
        return fkStockPosUuid;
    }

    public void setFkStockPosUuid(String fkStockPosUuid) {
        this.fkStockPosUuid = fkStockPosUuid;
    }

    public String getStockPosCodeDetail() {
        return stockPosCodeDetail;
    }

    public void setStockPosCodeDetail(String stockPosCodeDetail) {
        this.stockPosCodeDetail = stockPosCodeDetail;
    }

    public String getStockCodeDetail() {
        return stockCodeDetail;
    }

    public void setStockCodeDetail(String stockCodeDetail) {
        this.stockCodeDetail = stockCodeDetail;
    }

    public String getStockPosNameDetail() {
        return stockPosNameDetail;
    }

    public void setStockPosNameDetail(String stockPosNameDetail) {
        this.stockPosNameDetail = stockPosNameDetail;
    }

    public String getStockNameDetail() {
        return stockNameDetail;
    }

    public void setStockNameDetail(String stockNameDetail) {
        this.stockNameDetail = stockNameDetail;
    }

    public BigDecimal getItemPrice() {
        return itemPrice;
    }

    public void setItemPrice(BigDecimal itemPrice) {
        this.itemPrice = itemPrice;
    }

    public String getWmsDictStockInType() {
        return wmsDictStockInType;
    }

    public void setWmsDictStockInType(String wmsDictStockInType) {
        this.wmsDictStockInType = wmsDictStockInType;
    }

    public String getFkOrderUuid() {
        return fkOrderUuid;
    }

    public void setFkOrderUuid(String fkOrderUuid) {
        this.fkOrderUuid = fkOrderUuid;
    }

    public String getDocNumOrder() {
        return docNumOrder;
    }

    public void setDocNumOrder(String docNumOrder) {
        this.docNumOrder = docNumOrder;
    }

    public String getDocTitleOrder() {
        return docTitleOrder;
    }

    public void setDocTitleOrder(String docTitleOrder) {
        this.docTitleOrder = docTitleOrder;
    }


    public String getDocTitle() {
        return docTitle;
    }

    public void setDocTitle(String docTitle) {
        this.docTitle = docTitle;
    }

    public Date getDocDt() {
        return docDt;
    }

    public void setDocDt(Date docDt) {
        this.docDt = docDt;
    }

    public Long getFkAttentionUserId() {
        return fkAttentionUserId;
    }

    public void setFkAttentionUserId(Long fkAttentionUserId) {
        this.fkAttentionUserId = fkAttentionUserId;
    }

    public String getUserNameStockIn() {
        return userNameStockIn;
    }

    public void setUserNameStockIn(String userNameStockIn) {
        this.userNameStockIn = userNameStockIn;
    }

    public String getDocNote() {
        return docNote;
    }

    public void setDocNote(String docNote) {
        this.docNote = docNote;
    }


    public String getDocNum() {
        return docNum;
    }

    public void setDocNum(String docNum) {
        this.docNum = docNum;
    }

    public String getDocTitleRequest() {
        return docTitleRequest;
    }

    public void setDocTitleRequest(String docTitleRequest) {
        this.docTitleRequest = docTitleRequest;
    }

    public String getDocNumRequest() {
        return docNumRequest;
    }

    public void setDocNumRequest(String docNumRequest) {
        this.docNumRequest = docNumRequest;
    }

    public Date getDocDtRequest() {
        return docDtRequest;
    }

    public void setDocDtRequest(Date docDtRequest) {
        this.docDtRequest = docDtRequest;
    }

    @Override
    public String getItemName() {
        return itemName;
    }

    @Override
    public void setItemName(String itemName) {
        this.itemName = itemName;
    }

    @Override
    public String getItemNum() {
        return itemNum;
    }

    @Override
    public void setItemNum(String itemNum) {
        this.itemNum = itemNum;
    }

    public void setStockInDetailUuid(String stockInDetailUuid)
    {
        this.stockInDetailUuid = stockInDetailUuid;
    }

    public String getStockInDetailUuid()
    {
        return stockInDetailUuid;
    }
    public void setFkStockInUuid(String fkStockInUuid)
    {
        this.fkStockInUuid = fkStockInUuid;
    }

    public String getFkStockInUuid()
    {
        return fkStockInUuid;
    }
    public void setOrderNum(String orderNum)
    {
        this.orderNum = orderNum;
    }

    public String getOrderNum()
    {
        return orderNum;
    }
    public void setFkItemUuid(String fkItemUuid)
    {
        this.fkItemUuid = fkItemUuid;
    }

    public String getFkItemUuid()
    {
        return fkItemUuid;
    }
    public void setStockInQty(BigDecimal stockInQty)
    {
        this.stockInQty = stockInQty;
    }

    public BigDecimal getStockInQty()
    {
        return stockInQty;
    }
    public void setWmsDictMeasuringUnit(String wmsDictMeasuringUnit)
    {
        this.wmsDictMeasuringUnit = wmsDictMeasuringUnit;
    }

    public String getWmsDictMeasuringUnit()
    {
        return wmsDictMeasuringUnit;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("stockInDetailUuid", getStockInDetailUuid())
                .append("fkStockInUuid", getFkStockInUuid())
                .append("orderNum", getOrderNum())
                .append("fkItemUuid", getFkItemUuid())
                .append("stockInQty", getStockInQty())
                .append("wmsDictMeasuringUnit", getWmsDictMeasuringUnit())
                .toString();
    }
}
